export default routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    name: '首页',
    path: '/home',
    component: './Home',
  },
  {
    name: '权限演示',
    path: '/access',
    component: './Access',
  },
  {
    name: '项目',
    path: '/projectInterface',
    routes: [
      {
        name: '接口',
        path: 'interfaceList',
        component: '@/pages/ProjectInterface/index',
      },
      {
        name: '基本信息',
        path: 'baseInfoList',
        component: '@/pages/ProjectBaseInfo/index',
      },
    ],
  },
  {
    name: '工具',
    path: '/tool',
    routes: [
      {
        name: 'api-post',
        path: 'api',
        component: '@/pages/ProjectTool/index'
      }
    ]

  }
];
